package com.pinusmusic.domain;

import java.util.Date;

public class CommentInf {
    private User user;
    private Integer counts;
    private Comment comment;
    private MusicInfo musicInfo;

    public CommentInf(User user, Integer counts, Comment comment, MusicInfo musicInfo) {
        this.user = user;
        this.counts = counts;
        this.comment = comment;
        this.musicInfo = musicInfo;
    }

    public CommentInf() {
    }

    public MusicInfo getMusicInfo() {
        return musicInfo;
    }

    public void setMusicInfo(MusicInfo musicInfo) {
        this.musicInfo = musicInfo;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Comment getComment() {
        return comment;
    }

    public void setComment(Comment comment) {
        this.comment = comment;
    }

    public Integer getCounts() {
        return counts;
    }

    public void setCounts(Integer counts) {
        this.counts = counts;
    }

    @Override
    public String toString() {
        return "CommentInf{" +
                "user=" + user +
                ", counts=" + counts +
                ", comment=" + comment +
                ", musicInfo=" + musicInfo +
                '}';
    }
}
